package com.itheima.health.service;

import com.itheima.health.entity.PageResult;
import com.itheima.health.entity.QueryPageBean;
import com.itheima.health.pojo.Permission;

/**
 * @Classname PermissionService
 * @Description TODO
 * @Date 2020/10/9 10:17
 * @Created by Administrator
 */
public interface PermissionService {
    PageResult findAll(QueryPageBean queryPageBean);

    void permissionAdd(Permission permission);


    Permission permissionUpdate(Integer id);

    void permissionEdit(Permission permission);

    void permissionDelete(Integer id);
}
